package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpMenu;
import org.example.domain.po.ErpRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.domain.vo.ErpMenuBtnVO;

import java.util.List;
import java.util.Map;

/**
* @author DELL
* @description 针对表【erp_role_menu(角色/模块关系表)】的数据库操作Mapper
* @createDate 2024-10-11 10:04:58
* @Entity org.example.domain.po.ErpRoleMenu
*/
public interface ErpRoleMenuMapper extends BaseMapper<ErpRoleMenu> {
    List<ErpMenuBtnVO> rolePushBtnById(Long id);
    
    List<ErpMenuBtnVO> getRoleMenuBtnStr(Long roleId);
    
    int upRoleMenuStr(@Param("mapObject") Map<String, String> mapObject);
    
}




